<?php
namespace Manage\Controller;

class AdminController extends CommonController {

    protected function _initialize(){
        $login = A('Login');
        if( ! session($login::SESSION_NAME) ) $this->error('请先登录', U('Login/Index'));
    }

    public function Index(){
        $this->display();
    }


    public function Right(){
        $this->display();
    }
}